xen/xsm: fix incorrect handling of XSM hook return
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Thu, 2 Feb 2012 15:23:04 +0000 (15:23 +0000)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Thu, 2 Feb 2012 15:23:04 +0000 (15:23 +0000)
commitcc64b587f5f0545cf9f85c5b748b8bb71bf9fa26
tree2c8545012fd8410be262f15fe939ae83e7b8b857
parentc14a9b21171a7dd847188b3f882cf9efd490c414
xen/xsm: fix incorrect handling of XSM hook return

If the XSM hook denied access, the execution incorrectly continued on
after an extra unlock domain.

Reported-by: John McDermott <john.mcdermott@nrl.navy.mil>
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/domctl.c